package com.cares.event.entity;

import java.io.Serializable;
import java.util.Date;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

import cn.sh.cares.dao.entity.BaseEntity;

/**
 * 流程执行信息日志记录表
 * @author xuji
 *
 */
@Entity
@Table(name="T_EVENT_LOG")
public class TEventLog extends BaseEntity implements Serializable {

	private static final long serialVersionUID = 1L;

	@Id
	@Column(name = "PROXYID")
	private int id;
	
	//调用的类型--存储过程，类方法，bat等等
	@Column(name = "call_type")
	private String callType;
	
	//具体名称
	@Column(name = "call_name")
	private String callName;
	
	//日志信息级别
	@Column(name = "infolevel")
	private String infolevel;
	
	//执行时间
	@Column(name = "excute_time")
	private Date excuteTime;
	
	//执行结果信息
	@Column(name = "message")
	private String message;
	
	//调用类
	@Column(name = "class_name")
	private String className;
	
	//流程名称
	@Column(name = "flow_name")
	private String flowName;
	
	//流程实例id
	@Column(name = "flow_excute_id")
	private String flowExcuteId;
	
	//流程实例任务节点id
	@Column(name = "flow_task_id")
	private String flowTaskId;
	
	//流程实例任务节点名称
	@Column(name = "flow_task_name")
	private String flowTaskName;
	
	public String getCallType() {
		return callType;
	}

	public void setCallType(String callType) {
		this.callType = callType;
	}

	public String getCallName() {
		return callName;
	}

	public void setCallName(String callName) {
		this.callName = callName;
	}

	public String getInfolevel() {
		return infolevel;
	}

	public void setInfolevel(String infolevel) {
		this.infolevel = infolevel;
	}

	public Date getExcuteTime() {
		return excuteTime;
	}

	public void setExcuteTime(Date excuteTime) {
		this.excuteTime = excuteTime;
	}

	public String getMessage() {
		return message;
	}

	public void setMessage(String message) {
		this.message = message;
	}

	public String getClassName() {
		return className;
	}

	public void setClassName(String className) {
		this.className = className;
	}

	public String getFlowName() {
		return flowName;
	}

	public void setFlowName(String flowName) {
		this.flowName = flowName;
	}

	public String getFlowExcuteId() {
		return flowExcuteId;
	}

	public void setFlowExcuteId(String flowExcuteId) {
		this.flowExcuteId = flowExcuteId;
	}

	public String getFlowTaskId() {
		return flowTaskId;
	}

	public void setFlowTaskId(String flowTaskId) {
		this.flowTaskId = flowTaskId;
	}

	public String getFlowTaskName() {
		return flowTaskName;
	}

	public void setFlowTaskName(String flowTaskName) {
		this.flowTaskName = flowTaskName;
	}

	public void setId(int id) {
		this.id = id;
	}

	@Override
	public Serializable getId() {
		return this.id;
	}

}
